projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18905ca
)
(safe_run_hooks_1): Don't crash if Vrun_hooks is nil.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 29 Jul 2006 01:54:16 +0000
(
01:54
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 29 Jul 2006 01:54:16 +0000
(
01:54
+0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 23e10aefac1f5c2b0e259490ee57dbba615e523b..95d880d1209539d6adda4e68f5353d9ea4019cad 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-2032,6
+2032,8
@@
static Lisp_Object
safe_run_hooks_1 (hook)
Lisp_Object hook;
{
+ if (NILP (Vrun_hooks))
+ return Qnil;
return call1 (Vrun_hooks, Vinhibit_quit);
}